package com.ruoyi.common.core.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 报名详情
 *
 * @Author tianhai.xu
 * @Date 2024-06-24 15:45
 * @Version 1.0
 */
@Data
public class ApplicationInfo extends BaseEntity {

    /**
     * ID
     */
    @Excel(name = "序号", type = Excel.Type.EXPORT, cellType = Excel.ColumnType.NUMERIC, prompt = "编号")
    private Long id;
    /**
     * 用户名称
     */
    @Excel(name = "用户名称")
    private String name;

    /**
     * 状态
     */
    @Excel(name = "状态", readConverterExp = "状态（0正常 1停用）")
    private String status;

    /**
     * 删除标志
     */
    @Excel(name = "删除标志", readConverterExp = "删除标志（0代表存在 1代表删除）")
    private String delFlag;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date effectiveStartTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date effectiveEndTime;

    /**
     * 已经报名数
     */
    private Integer alreadyTotal;

    /**
     * 报名总数
     */
    private Integer sumTotal;
}
